<?php

namespace Luka\StoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Luka\StoreBundle\Entity\Language
 *
 * @ORM\Table(name="Language")
 * @ORM\Entity
 */
class Language
{
    /**
     * @var string $name
     *
     * @ORM\Column(name="name", type="string", length=5, nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $name;

    /**
     * @var boolean $isdefault
     *
     * @ORM\Column(name="isdefault", type="boolean", nullable=false)
     */
    private $isdefault;



    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set isdefault
     *
     * @param boolean $isdefault
     */
    public function setIsdefault($isdefault)
    {
        $this->isdefault = $isdefault;
    }

    /**
     * Get isdefault
     *
     * @return boolean 
     */
    public function getIsdefault()
    {
        return $this->isdefault;
    }
}